<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:beans="http://www.springframework.org/schema/beans" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
	http://www.springframework.org/schema/security
	http://www.springframework.org/schema/security/spring-security-3.0.3.xsd">
 

 	<!-- /j_spring_security_logout Standard logout URL -->
	<http auto-config='true'>
		<intercept-url pattern="/index.html" filters="none"/>
		<intercept-url pattern="/kundereg.html" access="ROLE_USER,ROLE_ADMIN"/>
		<intercept-url pattern="/menü.htm" access="ROLE_USER,ROLE_ADMIN"/>
		<logout logout-success-url="/index.html"/>
	</http>

	<authentication-manager>
		<authentication-provider>
			<user-service>
				<user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" />
				<user name="ma" password="ma" authorities="ROLE_USER" />
			</user-service>
		</authentication-provider>
	</authentication-manager>
</beans:beans>
